:root {
    font-family: Inter, Avenir, Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;

    color-scheme: light dark;
    color: rgba(255, 255, 255, 0.87);
    background-color: #242424;

    font-synthesis: none;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-text-size-adjust: 100%;

    --cui-grey-9: 28, 31, 35;

    --cui-color-bg-0: rgba(255, 255, 255, 1);
    --cui-color-bg-1: rgba(255, 255, 255, 1);
    --cui-color-bg-2: rgba(255, 255, 255, 1);
    --cui-color-bg-3: rgba(255, 255, 255, 1);
    --cui-color-bg-4: rgba(255, 255, 255, 1);

    --cui-color-text-0: rgba(var(--cui-grey-9), 1);
    --cui-color-text-1: rgba(var(--cui-grey-9), .8);
    --cui-color-text-2: rgba(var(--cui-grey-9), .62);
    --cui-color-text-3: rgba(var(--cui-grey-9), .35);
}

body[theme-mod='dark'] {
    --cui-grey-9: 249, 249, 249;

    --cui-color-bg-0: #16161a;
    --cui-color-bg-1: #232429;
    --cui-color-bg-2: #35363c;
    --cui-color-bg-3: #43444a;
    --cui-color-bg-4: #4f5159;

    --cui-color-text-0: rgba(var(--cui-grey-9), 1);
    --cui-color-text-1: rgba(var(--cui-grey-9), .8);
    --cui-color-text-2: rgba(var(--cui-grey-9), .6);
    --cui-color-text-3: rgba(var(--cui-grey-9), .35);
}

body {
    margin: 0;
    display: flex;
    min-width: 320px;
    min-height: 100vh;
    background: var(--cui-color-bg-2);
    color: var(--cui-color-text-1);
}

.drag-box {
    background: #fff;
    border: 1px solid #999;
    border-radius: 3px;
    width: 180px;
    height: 180px;
    margin: 10px;
    padding: 10px;
    float: left;
    user-select: none;
}

.cursor-x {
    cursor: ew-resize;
}

.cursor-y {
    cursor: ns-resize;
}

.cursor {
    cursor: move;
}
.solid-draggable {
    will-change: transform;
}
.solid-draggable strong {
    background: #ddd;
    border: 1px solid #999;
    border-radius: 3px;
    display: block;
    margin-bottom: 10px;
    padding: 3px 5px;
    text-align: center;
}

.no-pointer-events {
    pointer-events: none;
}

.hovered {
    background-color: gray;
}
.rem-position-fix {
    position: static !important;
}